package com.dj.mingkong.admin.boot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

@SpringBootApplication(proxyBeanMethods = false, scanBasePackages = {"com.dj.mingkong"})
@EnableElasticsearchRepositories(basePackages = "com.dj.mingkong")
@EnableMongoRepositories(basePackages = "com.dj.mingkong")
public class DjMingkongAdminBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(DjMingkongAdminBootApplication.class, args);
    }

}
